FROM java:8
VOLUME /tmp
ADD test.jar app.jar
EXPOSE 8080
ENTRYPOINT [ "java", "-jar", "/app.jar" ]